<?php
namespace app\admin\controller;
use think\facade\Db;
use think\facade\View;

class Users
{
    public function user()
    {
        $list=Db::name('admin')->select()->toArray();
        View::assign('list',$list);
        return view();
    }
    public function userAdd()
    {
        return View::fetch();
    }
    public function userEdit()
    {
        return View::fetch();
    }
}